package com.smiletrain.activities;

import com.smiletrain.R;
import com.smiletrain.activities.base.AbstractActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

public class FormularioActivity extends AbstractActivity {
	/**
	 * @see android.app.Activity#onCreate(Bundle)
	 */
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.mail_form_view);
		super.setFootLayout();
		
		ImageView email = (ImageView) findViewById(R.id.bEmail);
		
		email.setOnClickListener(new OnClickListener() {
        	
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(FormularioActivity.this, EnviarEmailActivity.class);
				startActivity(intent);
			}
			
		});
		
		ImageView formulario = (ImageView) findViewById(R.id.bFormulario);
		
		formulario.setOnClickListener(new OnClickListener() {
        	
			@Override
			public void onClick(View v) {
				Intent intent = new Intent(FormularioActivity.this, Form1Activity.class);
				startActivity(intent);
			}
			
		});
		        
	}

	@Override
	public void updateCaso() {
		
	}
	
}
